
#include "CAppControl.h"

#include <iostream>
using namespace std;


CAppControl::CAppControl()
{
    cout << "CAppControl::CAppControl()" << endl;
}


CAppControl::~CAppControl()
{
    cout << "CAppControl::~CAppControl()" << endl;
}


bool CAppControl::init()
{
    cout << "CAppControl::init" << endl;
    return true;
}


void CAppControl::run()
{
    cout << "CAppControl::run" << endl;

    int i = doDummy(10, 10);

    cout << "result: " << i << endl;
}


int CAppControl::doDummy(int i, int j)
{
    cout << "CAppControl::doDummy" << endl;
    return i - j;
}


